package dao;

import org.mybatis.spring.SqlSessionTemplate;

import entity.User;

public class UserMybatisDao implements UserDao {

	private SqlSessionTemplate sessiontmp;	
	public SqlSessionTemplate getSessiontmp() {
		return sessiontmp;
	}
	public void setSessiontmp(SqlSessionTemplate sessiontmp) {
		this.sessiontmp = sessiontmp;
	}

	public void insertUser(User user) {
		sessiontmp.insert("dao.UserMybatisDao.insertUser", user);
	}

}
